Trustpilot\Review\Admin A

Total Complexity 71
Dependencies 9
Dependents 1
Total lines 428
Lines of code 365
Logical lines of code 175
Comment lines 32
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
get_product_identification_options()
A
53 8 21
wc_display_trustpilot_admin_page()
S
54 7 20
load_iframe()
S
39 3 74
trustpilot_handle_past_orders_callback()
S
53 5 24
get_configuration_scope_tree()
S
52 5 24
get_protocol()
S
72 6 4
trustpilot_save_changes()
S
57 4 18
get_integration_app_url()
S
58 3 17
wc_display_trustpilot_settings()
S
51 1 41
get_business_information()
S
62 3 10
get_business_country()
S
71 3 5
get_instance()
S
70 2 7
format_url()
S
73 2 4
enqueue_admin_scripts()
S
65 2 9
trustpilot_get_category_product_info()
S
64 2 9
enqueue_admin_styles()
S
70 2 6
wc_reload_trustpilot_settings()
S
66 2 9
do_hooks()
S
61 1 12
__construct()
S
69 1 6
trustpilot_menu()
S
78 1 3
trustpilot_resync_failed_orders()
S
77 1 4
trustpilot_sync_past_orders()
S
76 1 4
trustpilot_get_past_orders_info()
S
70 1 6
trustpilot_get_signup_data()
S
73 1 5
trustpilot_check_product_skus()
S
70 1 6
get_network_info()
S
66 1 8
wc_update_trustpilot_plugin()
S
82 1 3
wc_clear_trustpilot_settings()
S
70 1 6